#ifndef _SDLPROGRESSBAR_H_
#define _SDLPROGRESSBAR_H_

#include "Color.h"
#include "model\SDLProgressMonitor.h"
#include "SDLSurface.h"
#include "SDL_gfxPrimitives.h"

namespace sdl
{
class SDLProgressBar
{
public:
	SDLProgressBar(SDLSurface*);
	SDLProgressBar(SDLProgressMonitor*, SDLSurface*);
	virtual ~SDLProgressBar(void);
	void setX(int);
	int getX(void);
	void setY(int);
	int getY(void);
	void setWidth(int);
	int getWidth(void);
	void setHeight(int);
	int getHeight(void);
	void setBorderColor(Color*);
	void setBackgroundColor(Color*);
	void setForegroundColor(Color*);
	virtual void draw(void);
protected:
	SDLSurface* sdlSurface;
	int x;
	int y;
	int width;
	int height;
	Color* borderColor;
	Color* backgroundColor;
	Color* foregroundColor;
	SDLProgressMonitor* progressMonitor;
};
};

#endif
